package org.bizming.medicine.model;

import org.bizming.base.BaseModel;
import org.bizming.medicine.model.help.ActionType;

/**
 * 药物
 * 
 * @author yaoming
 * 
 */
public class Medicine extends BaseModel {

	private String commonName;// 通用名称--20
	private String name;// 名称--20
	private String jixing;// 制剂,剂型--20
	private String guige;// 规格--20
	private String company;// 生产企业--20
	private String approvalNumber;// 批准文号--20
	private String lotNumber;// 批号--10
	private long utilDate;// 有效期
	private String unit;// 药物单位--10
	private int remainder;// 现有货物--8

	public String getCommonName() {
		return commonName;
	}

	public void setCommonName(String commonName) {
		this.commonName = commonName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getApprovalNumber() {
		return approvalNumber;
	}

	public void setApprovalNumber(String approvalNumber) {
		this.approvalNumber = approvalNumber;
	}

	public String getLotNumber() {
		return lotNumber;
	}

	public void setLotNumber(String lotNumber) {
		this.lotNumber = lotNumber;
	}

	public long getUtilDate() {
		return utilDate;
	}

	public void setUtilDate(long utilDate) {
		this.utilDate = utilDate;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getJixing() {
		return jixing;
	}

	public void setJixing(String jixing) {
		this.jixing = jixing;
	}

	public String getGuige() {
		return guige;
	}

	public void setGuige(String guige) {
		this.guige = guige;
	}

	public int getRemainder() {
		return remainder;
	}

	public void setRemainder(int remainder) {
		this.remainder = remainder;
	}

	@Override
	public boolean isValidate(ActionType type) {
		// TODO Auto-generated method stub
		return true;
	}

}
